const http = uni.$u.http
// 用户登录
export const update = (data) => http.post('PrincipalUser/principalUserSave', data)
// 获取负责人详情
export const detail = (data) => http.get('PrincipalUser/getDetail', {
	params: data
})
//根据主体ID获取负责人
export const getCompanyPrincipal = (data) => http.get('PrincipalUser/getCompanyPrincipal', {
	params: data
})

// 负责人列表
export const lists = (data) => http.get('PrincipalUser/getList', {
	params: data
})